<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		test = function(){
			this.name = '张三';
			this.age = 20;
			this.speak = function(){
				console.log("hello....");
			}
		}
		new test().speak();
	</script>
</html>
